<template>
  <div id="capsule-container">
    <div class="d-flex pt-2 pl-2">
      <span style="color:#5cd9e8">
        <!-- <icon name="chart-bar"></icon> -->
      </span>
      <div class="d-flex">
        <span class="fs-xl text mx-2">客户偏好</span>
        <dv-decoration-6 style="width:1.25rem;height:.25rem; position:relative;top:-.0375rem;" />
      </div>
    </div>
    <dv-capsule-chart class="capsule-board" :config="config" />
  </div>
</template>

<script>
export default {
  name: 'carousel',
  data () {
    return {
      config: {
        data: [
          {
            name: '海飞丝',
            value: 167
          },
          {
            name: '潘婷',
            value: 67
          },
          {
            name: '沙宣',
            value: 123
          },
          {
            name: '力士',
            value: 55
          },
          {
            name: '欧莱雅',
            value: 98
          },
        ],
        unit: '单位'
      }
    }
  }

}
</script>

<style lang="scss" scoped>
#capsule-container {
  padding: 0.2rem;
  height: 5.125rem;
  min-width: 3.75rem;
  border-radius: 0.0625rem;

  .text {
    color: #c3cbde;
    font-size: 0.2rem;
  }

  .capsule-board {
    padding: 0.2rem 0.125rem;
  }
}
</style>